package com.itkjb.leisurely.resource.common;

/**
 * Copyright (C), 2018-2020
 *
 * @Author: lix
 * @Date: 2020-06-01 09:18
 * @Description: 默认的按钮枚举
 * @Version: V1.0.0
 */

public enum  DefaultButtonEnum {
    /**
     * 按钮类型
     */
    ADD("add","添加"),
    EDIT("edit","编辑"),
    DELETE("del","删除"),
    INFO("info","详情"),
    QUERY("query", "查询"),
    EXPORT("exp", "导出"),
    ;
    /**
     * code
     */
    private String code;
    /**
     * 标题
     */
    private String title;

    DefaultButtonEnum(String code,String title){
        this.code = code;
        this.title = title;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
